要想让自己对ulimit参数的修改持久有效,则可以将命令写入到”~/.bash_profile”文件中。
http://www.blogjava.net/alexwan/archive/2009/05/18/271269.html
亮点:
持久性修改有两种方法:
(1)将ulimit -HSn 65536写入对应用户的.bash_profile文件中,如/root/.bash_profile;
(2)将ulimit -HSn 65536写入到/etc/profile文件中,那么这个设置就对所有用户有效;
这样在下次进入系统是就不用再设置了。
HxLauncher: Launch Android applications by voice commands